package com.guofen.dao;

import com.guofen.pojo.OrderInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderInfoMapper {
    List<OrderInfo> selectAll();

    OrderInfo selectByPrimaryKey(Integer id);

    OrderInfo selectLatest();

    int deleteByPrimaryKey(Integer id);

    int insertSelective(OrderInfo orderInfo);

    int updateByPrimaryKeySelective(OrderInfo orderInfo);

    List<OrderInfo> selectByStatus(@Param("status") String[] status);
}
